package com.c.ctgproject.entity.service

class TrackingEntity {
    /**
     * status : 0
     * msg : null
     * data : {"total":1,"list":[{"id":888897768,"orgname":"郑州物流","legalman":"物流法人","phone":"847743460"}],"pageNum":1,"pageSize":1,"size":1,"startRow":0,"endRow":0,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     */
    var status = 0
    var msg: Any? = null
    var data: DataBean? = null
    var isSuccess = false

    class DataBean {
        /**
         * total : 1
         * list : [{"id":888897768,"orgname":"郑州物流","legalman":"物流法人","phone":"847743460"}]
         * pageNum : 1
         * pageSize : 1
         * size : 1
         * startRow : 0
         * endRow : 0
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total = 0
        var pageNum = 0
        var pageSize = 0
        var size = 0
        var startRow = 0
        var endRow = 0
        var pages = 0
        var prePage = 0
        var nextPage = 0
        var isIsFirstPage = false
            private set
        var isIsLastPage = false
            private set
        var isHasPreviousPage = false
        var isHasNextPage = false
        var navigatePages = 0
        var navigateFirstPage = 0
        var navigateLastPage = 0
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null
        fun setIsFirstPage(isFirstPage: Boolean) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean) {
            isIsLastPage = isLastPage
        }

        class ListBean {
            /**
             * id : 888897768
             * orgname : 郑州物流
             * legalman : 物流法人
             * phone : 847743460
             */
            var id = 0
            var orgname: String? = null
            var legalman: String? = null
            var phone: String? = null
        }
    }
}